﻿using System;
using ZlenStack.DeviceCenter.Domain.Entities;

namespace ZlenStack.DeviceCenter.Domain.Aggregates.TenantAggregate
{
    /// <summary>
    /// 租户链接字符串
    /// </summary>
    public class TenantConnectionString : BaseEntity
    {
        public virtual Guid TenantId { get; set; }

        public virtual string Name { get; set; } = null!;

        public virtual string Value { get; set; } = null!;

        public override object[] GetKeys()
        {
            return new object[] { TenantId, Name };
        }
    }
}
